const mongoose = require("./db");

const storeSchema = mongoose.Schema({
    name:String,//店铺名称
    header:String,//店铺头像
    userid:{
        type:mongoose.Types.ObjectId,
        ref:"user"
    }
})
const storeModel = mongoose.model("store", storeSchema, "store")

module.exports = { storeModel }
